package jp.melodroid.no5.scroll3;

import android.app.Activity;
import android.os.Bundle;
import android.widget.TabHost;
import android.app.TabActivity;
import android.content.Intent;

public class Scroll3 extends TabActivity
{
    /** Called when the activity is first created. */
    @Override
    public void onCreate(Bundle savedInstanceState)
    {
        super.onCreate(savedInstanceState);
        setContentView(R.layout.main);

	TabHost tabhost = getTabHost();
	TabHost.TabSpec spec;
	Intent intent;

	intent = new Intent(this,ScrollActivity.class);
	spec = tabhost.newTabSpec("scroll").setIndicator("Scroll").setContent(intent);
	tabhost.addTab(spec);

	intent = new Intent(this,TextActivity.class);
	spec = tabhost.newTabSpec("text").setIndicator("Text").setContent(intent);
	tabhost.addTab(spec);

	intent = new Intent(this,LayoutTest.class);
	spec = tabhost.newTabSpec("test").setIndicator("Test").setContent(intent);
	tabhost.addTab(spec);
    }
}
